#ifndef __USART_H
#define __USART_H
#include "stdio.h"	
#include "sys.h" 
struct UartData
{
	uint8_t USART_RX_BUF;
	struct UartData* next;
};
#define EN_USART1_RX	1
extern struct UartData* first;
extern u16 USART_RX_STA;  
void uart_init(u32 bound);
void usart_free(struct UartData* data);
void printf2(uint8_t* p);
uint8_t is_ok(struct UartData* data);
uint8_t is_ipd(struct UartData*data);
#endif


